'Declaration
Public Overloads Function LoadFromFileAsync( _ ByVal fileName As System.String, _ ByVal documentFormat As NGridFormat(Of NTableGridDocument,NTableGrid), _ ByVal loadSettings As NGridLoadSettings, _ ByVal reportErrors As System.Boolean, _ ByVal askToSaveChanges As System.Boolean _ ) As NPromise(Of Boolean)
'Usage
Dim instance As NTableGridViewControl Dim fileName As System.String Dim documentFormat As NGridFormat(Of NTableGridDocument,NTableGrid) Dim loadSettings As NGridLoadSettings Dim reportErrors As System.Boolean Dim askToSaveChanges As System.Boolean Dim value As NPromise(Of Boolean) value = instance.LoadFromFileAsync(fileName, documentFormat, loadSettings, reportErrors, askToSaveChanges)
public NPromise<bool> LoadFromFileAsync( System.string fileName, NGridFormat<NTableGridDocument,NTableGrid> documentFormat, NGridLoadSettings loadSettings, System.bool reportErrors, System.bool askToSaveChanges )
Parameters
- fileName
- documentFormat
- loadSettings
- reportErrors
- askToSaveChanges